﻿using System;
using System.Collections.Generic;

class compare_elements
{      
    static void Main()
    {            
        try
        {                
            int number = 0;    
            int number2 = 0;                
            int index = 0;
            List<int> list1 = new List<int>();
            List<int> list2 = new List<int>();
            List<int> list3 = new List<int>();                

            while (number2 != -7)
            {
                Console.Write("First array: ");
                number = int.Parse(Console.ReadLine());
                Console.Write("Second array: ");
                number2 = int.Parse(Console.ReadLine());
                   
                list1.Add(number);                   
                list2.Add(number2);  
            }

            int length = list1.Capacity;          
                
            while (length > 0)
            {
                if (list1[index] > list2[index])
                {                        
                    Console.WriteLine("{0} > {1}", list1[index], list2[index]);
                }
                else if (list1[index] == list2[index])
                {                       
                    Console.WriteLine("{0} = {1}", list1[index], list2[index]);
                }
                else
                {                       
                    Console.WriteLine("{0} > {1}", list2[index], list1[index]);
                }                                     
                index++;
                length--;
            }
        }
        catch (Exception)
        {
            Console.WriteLine("Wrong data!");
            return;
        }
    }
}